﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace DAQ
{
    public partial class qustion : MetroFramework.Forms.MetroForm
    {
        public int result { get; set; }
        public qustion()
        {
            InitializeComponent();
        }

        private void metroButton1_Click(object sender, EventArgs e)
        {
            if(this.metroTextBox1.Text=="12306")
            {
                result = 0;
            }
            else
            {
                result = -1;
            }
        }

        private void metroButton2_Click(object sender, EventArgs e)
        {
            result = 1;
        }
    }
}
